package com.czr.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * <p>
 * 名企推荐
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("czr_busi")
@ApiModel(value="czr_busi对象", description="名企推荐")
public class CzrBusiGlVo extends Model<CzrBusiGlVo> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键(不用传)")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户账号")
    @TableField("busi_company_name")
    private String busiCompanyName;

    @ApiModelProperty(value = "摘要")
    @TableField("busi_abstract")
    private String busiAbstract;

    @ApiModelProperty(value = "公司地址")
    @TableField("busi_address")
    private String busiAddress;

    @ApiModelProperty(value = "联系人")
    @TableField("busi_name")
    private String busiName;

    @ApiModelProperty(value = "联系电话")
    @TableField("busi_contact_phone")
    private String busiContactPhone;

    @ApiModelProperty(value = "微信号")
    @TableField("busi_weixin")
    private String busiWeixin;

    @ApiModelProperty(value = "公司简介")
    @TableField("busi_company_brief")
    private String busiCompanyBrief;

    @ApiModelProperty(value = "状态 审批时要传 0待审核 1审核通过 2审核不通过")
    @TableField("busi_status")
    private Integer busiStatus;

    @ApiModelProperty(value = "排序")
    @TableField("busi_sort")
    private Integer busiSort;

    @ApiModelProperty(value = "公司logo")
    @TableField("busi_company_logo")
    private String busiCompanyLogo;

    @ApiModelProperty(value = "申请人")
    @TableField("userId")
    private Integer userId;

    @ApiModelProperty(value = "申请时间")
    @TableField("insert_time")
    private String insertTime;

    @ApiModelProperty(value = "审核时间")
    @TableField("verify_time")
    private String verifyTime;

    @ApiModelProperty(value = "申请人账号")
    @TableField("user_name")
    private String userName;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
